package com.neuedu.ec.vo;

import com.neuedu.ec.entity.Orders;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Getter
@NoArgsConstructor
public class OrderQueryVo {
    /**
     * 订单数量
     */
    private Integer count;
    private List<Orders> orders;

    public OrderQueryVo( List<Orders> orders) {
        this.count = orders.size();
        this.orders = orders;
    }
}
